//
//  RootViewController.m
//  UI13_可视化编程
//
//  Created by dllo on 15/11/25.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "RootViewController.h"

@interface RootViewController ()
@property (retain, nonatomic) IBOutlet UILabel *nameL;
@property (retain, nonatomic) IBOutlet UITextField *nameTextF;


@end

@implementation RootViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
- (IBAction)buttonAction:(UIButton *)sender {
    self.nameL.text = self.nameTextF.text;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (void)dealloc {
    [_nameL release];
    [_nameTextF release];
    [super dealloc];
}
@end
